package com.sjzxywlkj.cplife.alipay.response.entity;

/**
 * 换取应用授权令牌响应参数
 * url:https://docs.open.alipay.com/api_9/alipay.open.auth.token.app/
 */

public class LoginTokenResult {
    //授权商户的user_id
    private String user_id;
    //授权商户的appid
    private String auth_app_id;
    //应用授权令牌
    private String app_auth_token;
    //刷新令牌
    private String app_refresh_token;
    //应用授权令牌的有效时间（从接口调用时间作为起始时间），单位到秒
    private String expires_in;
    //刷新令牌的有效时间（从接口调用时间作为起始时间），单位到秒
    private String re_expires_in;

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getAuth_app_id() {
        return auth_app_id;
    }

    public void setAuth_app_id(String auth_app_id) {
        this.auth_app_id = auth_app_id;
    }

    public String getApp_auth_token() {
        return app_auth_token;
    }

    public void setApp_auth_token(String app_auth_token) {
        this.app_auth_token = app_auth_token;
    }

    public String getApp_refresh_token() {
        return app_refresh_token;
    }

    public void setApp_refresh_token(String app_refresh_token) {
        this.app_refresh_token = app_refresh_token;
    }

    public String getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(String expires_in) {
        this.expires_in = expires_in;
    }

    public String getRe_expires_in() {
        return re_expires_in;
    }

    public void setRe_expires_in(String re_expires_in) {
        this.re_expires_in = re_expires_in;
    }

    public LoginTokenResult(String user_id, String auth_app_id, String app_auth_token, String app_refresh_token,
                            String expires_in, String re_expires_in) {
        super();
        this.user_id = user_id;
        this.auth_app_id = auth_app_id;
        this.app_auth_token = app_auth_token;
        this.app_refresh_token = app_refresh_token;
        this.expires_in = expires_in;
        this.re_expires_in = re_expires_in;
    }

    public LoginTokenResult() {
        super();
    }

}
